
import axios from "axios"

let host = "http://localhost:8080"

let fns = {
  async TiMuList() {
    let page = Math.floor(Math.random()*50)
    console.log(page);
    
    let httpUrl = `${host}/api/rtimu?page=${page}`;
    let res = await axios.get(httpUrl);
    return res.data
    // console.log(res.data);
  },
};

export default fns
